package day005.itheima004;

public class PhoneDemo {
    public static void main(String[] args) {
        Phone p1 = new Phone();
        p1.setBrand("小米");
        p1.setPrice(2999);
        System.out.println(p1.getBrand() + " " + p1.getPrice());

        Phone p2 = new Phone("华为", 3999);
        System.out.println(p2.getBrand() + " " + p2.getPrice());
    }
}
